package com.lvyq.model.bag;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @program: weg
 * @description: 背包
 * @author: lvyq
 * @create: 2023-03-29 20:08
 **/
@Data
@Document(collection = "my_bag")
public class MyBag {
    @Id
    String id;

    /**
    * 物品名
    */
    String goodsName;

    /**
     * 物品数量
     */
    Integer num;

    /**
     * openId
     */
    String openId;

    /**
     * 背包类型
     */
    Integer type;

}
